package com.edt.ichannel.api.service.impl;

import com.edt.ichannel.api.dao.WorpOrderDao;
import com.edt.ichannel.api.service.WorpOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class WorpOrderServiceImpl implements WorpOrderService {

    @Resource
    private WorpOrderDao worpOrderDao;
    @Override
    public String getOrderType(String orderCode) {
        return worpOrderDao.getOrderType(orderCode);
    }

    @Override
    public String getChannelIdByOrderCode(String orderCode) {
        return worpOrderDao.getChannelIdByOrderCode(orderCode);
    }
}
